﻿using System.Threading.Tasks;
using System.Collections.Generic;
namespace Odyssey.Consul
{
    using Models;

    public interface ISession
    {
        Task<ResultSessionCreate> Create(ArguSession arguSession);

        Task<bool> Delete(ArguSession arguSession);

        Task<List<ResultSession>> Read(ArguSession arguSession);

        Task<List<ResultSession>> ListForNode(ArguSession arguSession);

        Task<List<ResultSession>> List(ArguSession arguSession);

        Task<List<ResultSession>> Renew(ArguSession arguSession);
    }
}
